﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VoL.Domain.Common.DTO;
using VOL.Entity.DomainModels;
using VOL.WebApi.Common;

namespace VoL.Domain.IServices.EquipmentManage
{
    /// <summary>
    /// 设备记录服务接口
    /// </summary>
    public partial interface IEquipmentRecordServices
    {
        /// <summary>
        /// 创建/更新设备记录
        /// </summary>
        /// <returns>返回结果</returns>
        Task<APIResult<object>> CUEquipmentRecord(EquipmentRecordDTO equipmentRecordDto);

        /// <summary>
        /// 获取设备记录列表
        /// </summary>
        Task<APIResult<PageGridData<EquipmentRecordDTO>>> GetEquipmentRecordList(EquipmentRecordQueryAttribute equipmentRecordQueryAttribute);

    }
}
